package cate.game.play.proce.stat;

import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;


@NoteClass("move过程临时统计")
public class MoveStat extends StatBase {

    @NoteField("turn统计")
    private TurnStat parent;

    @NoteField("行动者暴击过")
    public boolean strike;

    @NoteField("成功行动了")
    public boolean move;

    @Override
    public void add(StatItem stat) {
        super.add(stat);
        if (parent != null) {
            parent.add(stat);
        }
    }

    public MoveStat(TurnStat parent) {
        this.parent = parent;
    }

}
